module.exports = {
    publicPath: './', // 基本路径
    outputDir: 'dist', // 输出文件目录
    assetsDir: './assets',
    productionSourceMap: false,
    devServer: {
        host: 'localhost',
        port: '8383',
        proxy: {
            /* '/api': {
                 target: 'http://134.98.104.99:8081',
                 changeOrigin: true,
                 pathRewrite: {
                     '^/api': '/esbview'
                 }
             }*/
            '/esbview': {
                //target: 'http://134.98.104.99:8081',
                //target: 'http://134.98.104.98:8181',
                //target: 'http://134.96.253.82:8081',
                target: 'http://localhost:8181',
                changeOrigin: true,
                pathRewrite: {
                    '^/esbview': '/esbview'
                }
            }
        }
    }
}
